package ve.usb.ddp;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;
import java.util.List;
import ve.usb.cohesion.runtime.Pair;


public class FPaiReintegro extends org.apache.struts.action.ActionForm {
    
    
    public FPaiReintegro() {
        super();
        idReintegro = 0l;
        resolucion = 0l;
        listPaiResolucion = null;
        fec_reintegro = null;

    }
    
    public void reset(ActionMapping mapping, HttpServletRequest request) {
        idReintegro = 0l;
        resolucion = 0l;
        listPaiResolucion = null;
        fec_reintegro = null;

    }

    public static FPaiReintegro clear(ActionMapping mapping, HttpServletRequest request) {
        HttpSession sess = request.getSession();
        FPaiReintegro fFPaiReintegro = (FPaiReintegro) sess.getAttribute("FPaiReintegro");
        if (fFPaiReintegro == null) {
            fFPaiReintegro = new FPaiReintegro();
            sess.setAttribute("FPaiReintegro", fFPaiReintegro);
        } else {
            fFPaiReintegro.reset(mapping, request);
        }
        return fFPaiReintegro;
    }

//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
//        ActionErrors errors = new ActionErrors();
//
//        return errors;
//    }

/**
     * Holds value of property idReintegro.
     */
    private Long idReintegro;

    /**
     * Getter for property idReintegro.
     * @return Value of property idReintegro.
     */
    public Long getIdReintegro() {
        return this.idReintegro;
    }

    /**
     * Setter for property idReintegro.
     * @param idReintegro New value of property idReintegro.
     */
    public void setIdReintegro(Long idReintegro) {
        this.idReintegro = idReintegro;
    }

/**
     * Holds value of property resolucion.
     */
    private Long resolucion;

    /**
     * Getter for property resolucion.
     * @return Value of property resolucion.
     */
    public Long getResolucion() {
        return this.resolucion;
    }

    /**
     * Setter for property resolucion.
     * @param resolucion New value of property resolucion.
     */
    public void setResolucion(Long resolucion) {
        this.resolucion = resolucion;
    }

/**
     * Holds value of property listPaiResolucion.
     */
    private List<Pair> listPaiResolucion;

    /**
     * Getter for property listPaiResolucion.
     * @return Value of property listPaiResolucion.
     */
    public List<Pair> getListPaiResolucion() {
        return this.listPaiResolucion;
    }

    /**
     * Setter for property listPaiResolucion.
     * @param listPaiResolucion New value of property listPaiResolucion.
     */
    public void setListPaiResolucion(List<Pair> listPaiResolucion) {
        this.listPaiResolucion = listPaiResolucion;
    }

/**
     * Holds value of property fec_reintegro.
     */
    private String fec_reintegro;

    /**
     * Getter for property fec_reintegro.
     * @return Value of property fec_reintegro.
     */
    public String getFec_reintegro() {
        return this.fec_reintegro;
    }

    /**
     * Setter for property fec_reintegro.
     * @param fec_reintegro New value of property fec_reintegro.
     */
    public void setFec_reintegro(String fec_reintegro) {
        this.fec_reintegro = fec_reintegro;
    }




}